pushd ..\releases\v%1\source

rem CORE
del NuGet\TripleA\lib\net40\delete.me
copy TripleA.Core\bin\debug\TripleA.Core.dll NuGet\TripleA\lib\net40
copy TripleA.Core\bin\debug\TripleA.Core.pdb NuGet\TripleA\lib\net40

rem STORYQ
del NuGet\TripleA.StoryQ\lib\net40\delete.me
copy TripleA.StoryQ\bin\debug\TripleA.StoryQ.dll NuGet\TripleA.StoryQ\lib\net40
copy TripleA.StoryQ\bin\debug\TripleA.StoryQ.pdb NuGet\TripleA.StoryQ\lib\net40

rem IIS
del NuGet\TripleA.IIS\lib\net40\delete.me
copy Extensions\TripleA.IIS\bin\debug\TripleA.IIS.dll NuGet\TripleA.IIS\lib\net40
copy Extensions\TripleA.IIS\bin\debug\TripleA.IIS.pdb NuGet\TripleA.IIS\lib\net40

popd
pushd ..\
Automation\NuGet\NuGet.exe pack Releases\v%1\source\NuGet\TripleA\TripleA.nuspec -version %1 -OutputDirectory Releases\v%1 
Automation\NuGet\NuGet.exe pack Releases\v%1\source\NuGet\TripleA.StoryQ\TripleA.StoryQ.nuspec -version %1 -OutputDirectory Releases\v%1 
Automation\NuGet\NuGet.exe pack Releases\v%1\source\NuGet\TripleA.IIS\TripleA.IIS.nuspec -version %1 -OutputDirectory Releases\v%1 
popd

